package cn.tedu.storage.mapper;

import cn.tedu.storage.entity.Storage;
import com.baomidou.mybatisplus.core.injector.methods.SelectById;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

public interface StorageMapper extends BaseMapper<Storage> {
    void decrease(Long productId, Integer count);


  Storage  SelectById(Long productId);
  void updateResidueToFrozen(Long productId,Integer count);
  void updateFrozenToUsed(Long productId,Integer count);
  void updateFrozenToResidue(Long productId,Integer count);
}
